package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.ProductSpecCombinationCertify;
import org.jeecg.modules.company.facade.IProductSpecCombinationCertifyFacade;
import org.jeecg.modules.company.service.IProductSpecCombinationCertifyService;
import org.jeecg.modules.company.vo.ProductSpecCombinationCertifyVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 产品配置组合认证信息
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class ProductSpecCombinationCertifyFacadeImpl extends IFacadeImpl<ProductSpecCombinationCertifyVo, ProductSpecCombinationCertify, IProductSpecCombinationCertifyService>  implements IProductSpecCombinationCertifyFacade<ProductSpecCombinationCertifyVo, ProductSpecCombinationCertify> {
        @Autowired
        private IProductSpecCombinationCertifyService productSpecCombinationCertifyService;


         @Override
         public ProductSpecCombinationCertify po2Vo(ProductSpecCombinationCertifyVo vo) {
                ProductSpecCombinationCertify po = new ProductSpecCombinationCertify();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public ProductSpecCombinationCertifyVo vo2Po(ProductSpecCombinationCertify po) {
                ProductSpecCombinationCertifyVo vo = new ProductSpecCombinationCertifyVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
